package cn.hk.message.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 消息用户关联表
 * </p>
 *
 * @author xu
 * @since 2023-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_message_appuser_record")
@ApiModel(value="MessageAppuserRecord对象", description="消息用户关联表")
public class MessageAppuserRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "消息主键")
    private Long messageId;

    @ApiModelProperty(value = "app用户主键")
    private Long appUserId;

    @ApiModelProperty(value = "是否已读：1：已读；0：未读")
    private Integer isRead;

    @ApiModelProperty(value = "阅读时间")
    private Date readTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "通知来源：1：普通消息；2：预约登记；3：计划服务列表儿童；4：计划服务列表孕妇 5: 计划服务列表老年人 6:计划服务列表门诊 7医生上传报告(孕妇) 8医生上传报告(老年人)")
    private String noticeType;


}
